#include <QtGui/QApplication>
#include <QFile>

#include "dlg/cvlogindialog.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QApplication::setApplicationName("qtcv");

    QFile styleSheetFile(":/css/app");
    styleSheetFile.open(QFile::ReadOnly);
    QString styleSheet = styleSheetFile.readAll();
    app.setStyleSheet(styleSheet);

    CVLoginDialog dlg;
    dlg.show();
    
    return app.exec();
}
